export const isNil = (value: any): value is null | undefined | {} => {
  return value === null || value === undefined || value === '' || (typeof value === 'object' && Object.keys(value).length === 0);
}

